@model ShivamEMR.Model.Domain.CompanyDomain.BranchGroup

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>BranchGroup</legend>

    <div class="display-label">Code</div>
    <div class="display-field">@Model.Code</div>

    <div class="display-label">Group</div>
    <div class="display-field">@Model.Group</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">Company</div>
    <div class="display-field">@(Model.Company == null ? "None" : Model.Company.Name)</div>

    <div class="display-label">Branches</div>
    <div class="display-field">@(Model.Branches == null ? "None" : Model.Branches.Count.ToString())</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


